package com.baizhi.wd.action;

import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class AnchorAction extends HttpServlet {
	public void service(HttpServletRequest request,HttpServletResponse response){
		try{
		//1获取client的请求数据
		request.setCharacterEncoding("utf-8");
		
		//2 调用业务类的方法，检查帐号
		//3 检查结果
		request.setCharacterEncoding("utf-8");
		request.setAttribute("str", "hehehe");
		RequestDispatcher rd = request.getRequestDispatcher("/per/anchorview");
		rd.forward(request, response);
		
		}catch(Exception e){e.printStackTrace();}
	}
}
